/**
 * createUser:JAVA_TOM
 * FileName: userFeign
 * Author:   14562
 * Date:     2019/1/9 20:39
 * Description:
 */
package com.javatom.zwl.index.inferter;

import com.javatom.zwl.shop_bean.userInfoBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("api-shop-cart")
public interface userFeign {

    @RequestMapping(value = "/user", method = RequestMethod.GET)
    userInfoBean getUser();
}
